import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { MembershipService } from './membership.service';
import { MembershipController } from './membership.controller';
import { MembershipPackage } from './entities/membership-package.entity';

/**
 * 会员套餐模块
 */
@Module({
  imports: [TypeOrmModule.forFeature([MembershipPackage])],
  controllers: [MembershipController],
  providers: [MembershipService],
  exports: [MembershipService],
})
export class MembershipModule {}